const go/types.value
69 uses
go/types (current package)
api.go#L419: case constant_, variable, mapindex, value, commaok, commaerr:
api.go#L428: return tv.mode == value && tv.Type == Typ[UntypedNil]
api_predicates.go#L34: x := operand{mode: value, typ: V}
api_predicates.go#L45: x := operand{mode: value, typ: V}
assignments.go#L33: case constant_, variable, mapindex, value, commaok, commaerr:
builtins.go#L142: x.mode = value
builtins.go#L157: mode = value
builtins.go#L162: mode = value
builtins.go#L177: mode = value
builtins.go#L181: mode = value
builtins.go#L203: mode = value
builtins.go#L350: x.mode = value
builtins.go#L413: x.mode = value
builtins.go#L508: x.mode = value
builtins.go#L570: x.mode = value
builtins.go#L613: x.mode = value
builtins.go#L620: x.mode = value
builtins.go#L649: x.mode = value
builtins.go#L702: x.mode = value
builtins.go#L722: x.mode = value
builtins.go#L736: x.mode = value
builtins.go#L788: mode := value
builtins.go#L800: x.mode = value
builtins.go#L824: x.mode = value
builtins.go#L856: x.mode = value
builtins.go#L873: x.mode = value
builtins.go#L893: x.mode = value
builtins.go#L908: x.mode = value
call.go#L104: args = []*operand{{mode: value, expr: expr, typ: T.sig}}
call.go#L128: x.mode = value
call.go#L179: assert(x.mode == value)
call.go#L311: check.recordTypeAndValue(call.Fun, value, sig, nil)
call.go#L322: x.mode = value
call.go#L326: x.mode = value
call.go#L334: if x.mode == value && sig.TypeParams().Len() > 0 && isParameterized(sig.TypeParams().list(), x.typ) {
call.go#L414: resList[i] = &operand{mode: value, expr: e, typ: v.typ}
call.go#L696: funcMode := value
call.go#L764: x.mode = value
call.go#L890: x.mode = value
call.go#L908: x.mode = value
call.go#L962: x.mode = value
call.go#L1009: x.mode = value // anything but invalid
conversions.go#L82: x.mode = value // type parameters are not constants
conversions.go#L86: x.mode = value
expr.go#L145: x.mode = value
expr.go#L190: x.mode = value
expr.go#L565: x.mode = value
expr.go#L741: x.mode = value
expr.go#L753: x.mode = value
expr.go#L869: x.mode = value
expr.go#L1278: list[i] = &operand{mode: value, expr: e, typ: v.typ}
expr.go#L1286: x2 := &operand{mode: value, expr: e, typ: Typ[UntypedBool]}
expr.go#L1347: if x.mode == value {
index.go#L38: case value:
index.go#L64: x.mode = value
index.go#L72: x.mode = value
index.go#L119: mode = value
index.go#L125: mode = value
index.go#L316: x.mode = value
literals.go#L103: x.mode = value
literals.go#L346: x.mode = value
operand.go#L32: value // operand is a computed value
operand.go#L47: value: "value",
operand.go#L127: if x.mode == value && x.typ == Typ[UntypedNil] {
operand.go#L302: return x.mode == value && x.typ == Typ[UntypedNil]
range.go#L140: y.mode = value
range.go#L181: y.mode = value
typexpr.go#L132: x.mode = value
typexpr.go#L139: x.mode = value